package com.example.restaurant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 菜类表
 * </p>
 *
 * @author x
 * @since 2022-09-29
 */
@TableName("dish_type")
@ApiModel(value = "DishType对象", description = "菜类表")
public class DishType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("菜类名")
    private String dishTypeName;

    @ApiModelProperty("关联用户id")
    private Integer userId;

    @ApiModelProperty("状态 启用 USE|淘汰 DISCARD")
    private String status;
    @ApiModelProperty("关联门店id")
    private int storeId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDishTypeName() {
        return dishTypeName;
    }

    public void setDishTypeName(String dishTypeName) {
        this.dishTypeName = dishTypeName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    @Override
    public String toString() {
        return "DishType{" +
        "id = " + id +
        ", dishTypeName = " + dishTypeName +
        ", userId = " + userId +
        ", status = " + status +storeId+
        "}";
    }
}
